<!DOCTYPE html>
<html>
    <head>
        <meta charset="utf-8">
        <title></title>
        <script src="../js/vue.js"></script>
    </head>
    <body>
        <div>
            测试v-if:
            <span v-if="flag">显示内容</span><br>
            测试v-show:
            <span v-show="flag">vshow</span>
        </div>
        
        <script>
          var app= new Vue({
               el:"div",
               data:{
                   flag:true
               }
           });
        </script>
    </body>
</html>
